package com.boot.learning.exception;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

/**
 * 500 服务器异常 
 * 
 * @since JDK1.8
 * @author vencano
 * @date 2017年1月13日 下午8:55:16
 */
@ResponseStatus(code = HttpStatus.INTERNAL_SERVER_ERROR)
public class InternalServerException extends RuntimeException {

	private static final long serialVersionUID = -1152735915962491899L;

	public InternalServerException() {
		super();
	}

	public InternalServerException( String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace ) {
		super( message, cause, enableSuppression, writableStackTrace );
	}

	public InternalServerException( String message, Throwable cause ) {
		super( message, cause );
	}

	public InternalServerException( String message ) {
		super( message );
	}

	public InternalServerException( Throwable cause ) {
		super( cause );
	}
}
